package app.service;

import app.BaseService;
import app.entity.User;
import app.dao.UserDao;
import jakarta.inject.Singleton;

@Singleton
public class MyService extends BaseService {

    public String doSomething() {
        System.out.println("I just doSomeThing ~~");
        return "I just want to do something ~~";
    }

    public User getUser(long id) {
        return use(UserDao.class).findById(id);
    }
}
